#include <iostream>

class Father
{
	public:
		void setSomething(void)
		{}
	protected:
		void protectedFunc(void)
		{}
	private:
		void privateFunc(void)
		{}
};

class Son : protected Father
{
	public:
		void doSomething(void)
		{
			setSomething();
			protectedFunc();
//			privateFunc();
		}
};

int main(int argc, char **argv)
{
	Son son;
	son.doSomething();
	son.setSomething();
//	son.protectedFunc();
//	son.privateFunc();
	return 0;
}
